Subgrid detailed routing

ABSTRACT

Disclosed is a subgrid detailed router that performs searches for wire locations at the grid level. Once a solution is found, the wire is placed in a based upon a finer subgrid. Specifically, the present invention includes subgrids that in a preferred embodiment have a resolution that is 16×greater than the resolution of the conventional grids. This increased resolution is useful for improving routing density with variable width and variable spacing designs. In operation, the subgrid detailed router of the present invention searches at the grid level for potential wire paths using a code associated with each grid. This code contains data corresponding to each of the subgrids, such that upon completion of a routing a net, information exists that allows for the placement of the net at locations corresponding to the subgrid that has finer resolution than the grid which was used to implement the routing search. Thus, the present invention is as efficient as conventional grid based routers in finding an appropriate path.

FIELD OF THE ART

[0001] The present invention relates to a router for use in fabricating integrated circuit chips, and, more specifically, a subgrid detailed router.

BACKGROUND OF THE RELATED ART

[0002] In the art of integrated chip layout, routing is the term used describe placing wires into locations on an integrated circuit chip. There are two conventional approaches to detailed routing, which are grid based routing systems, and gridless routing systems.

[0003] Prior to discussing detailed routing, it is helpful to put in context the overall design steps that are conventionally implemented when fabricating the physical design of an integrated circuit chip using a physical design system. As illustrated in FIG. 1, the overall design flow of the physical design includes receiving a cell level netlist, as shown in step 2. Thereafter, this cell level netlist is used to determine the placement of modules that exist within the netlist into locations on the chip, shown as step 4. Modules will contain information relating to a combination of logical functions, and will include the pin and obstacle information needed for routing purposes. The netlist will also contain information relating to the various different pins that need to be interconnected. Thereafter, in a global routing step 6, a global routing grid (which may have been implemented in the placement step), is used to route various wires between pins of modules that traverse paths over several global routing grids. In a following detailed routing step 8, a detailed routing grid (or simply routing grid hereafter) is implemented, typically at a higher resolution than the previously discussed global routing grid, and the detailed placement of wires is performed. The output of the detailed routing step 8 is an integrated circuit fabrication mask.

[0004] In a conventional grid based detailed routing system, each of the different layers of an integrated circuit chip is represented in the detailed routing grid. The detailed routing grid is a 3D representation, with each of the different layers of the integrated circuit needed for routing purposes having a uniform area that is subdivided into the routing grids previously discussed, thereby forming a grid pattern for each layer. FIG. 2A illustrates one layer of such a 3D routing grid, in which that layer is subdivided into a grid pattern 10 having separate grids 12 of uniform size. This uniform size of the grids 12 is typically determined by the minimum width of the wires that can be obtained plus the minimum spacing that must be maintained between adjacent wires and/or vias.

[0005] The 3D routing grid will have layers corresponding to the different routing layers. As shown in FIG. 2B, a typical integrated circuit will have at least a semiconductor layer, and three wiring layers, such as HVH wiring layers, which stands for horizontal, vertical and horizontal wiring. In HVH wiring, one wiring layer (H1) is generally used to make horizontal traversals, another wiring layer (V) is generally used to make vertical traversals, and another layer (H2) is generally used to make horizontal traversals. Using these different wiring layers, and vias that interconnect adjacent layers together, pins of modules that need to be interconnected can be connected together using the 3D routing grid.

[0006] When performing detailed routing, the detailed router receives chip technology description data and data that has been generated as a result of the global routing step, which describe data including the number of layers (levels) on which rectangles representing wires can be generated, the minimum allowed width of any part of the path of rectangles, and the minimum allowed separation between any non-electrically-connected rectangles, as is conventionally known.

[0007] In detailed routing, data associated with the various modules is received. For detailed routing purposes, the detailed router interprets this information either as a pin or an obstacle. For any set of pins being interconnected, those pins are not obstacles, but other pins, and other wires that have been previously generated, as well as other obstacles, must be avoided in order to avoid a short circuit. Each of these pins and obstacles is represented as a set of rectangular shapes and will have an associated position and associated layer that is maintained in the database.

[0008] Various conventions are used for the representation of pins, wires (or nets) and obstacles in a grid. A common convention—called the centerline convention—is that the grid describes the acceptable location for the centerline of the paths that is used during the expansion process to determine the path of a net. When a net is routed, the path must stay away from existing obstacles, such as other wires, vias, and pins of other nets that have been previously placed in the 3D routing grid. In order to stay away from these obstacles, they are modeled by marking certain grid points as invalid. Thus, every intersection of the horizontal and vertical equidistant gridlines is tracked as a position to which the center of a square of a net to be routed may be assigned when legal. Such an assignment is legal if the square centered on the grid point has legal separation with respect to all other rectangles not associated with the net currently being routed. It may require traversals over several proposed paths before a successful traversal results in a placement location being found

[0009]FIG. 3. illustrates a representation of a portion of a routing grid and the obstacles and pins associated therewith. As can be seen, associated with one module are pins 12A and 12 b, and obstacles 14A and 14B. Associated with another module are Pins 12C and 12D, and obstacles 14C and 14D. Furthermore, the region marked 14E shows the interconnection of the pins 12B and 12C. Thus, for interconnections of other nets, the region marked 14E will also be an obstacle. Using a list of the different pins that need to be connected, the detailed router will traverse a path from the initial pin location (such as pin 12B in FIG. 3, to an endpoint pin location (such as pin 12C In reply to FIG. 3). It should be noted that in many cases, there exist many different possible connection locations to which the endpoint pin location can legally go, and once the detailed router finds a first such endpoint pin location, it has completed its task for that net, and will then move onto routing the next net. It should be noted that provision is also made for routing vias that connect conductors that exist at different adjacent levels and are used to form a single wire.

[0010] With that background description of grid based routing in mind, it will be appreciated that detailed routing grids are represented as a set of grid points and a set of edges between adjacent grid points. A so-called cost value is associated with every edge. Thus, detailed routing is a combinatorial optimization with the objective being to find a path of vertices between not yet connected features that are part of the net, including its pins. One manner in which to find the path between two points in a grid (such as two pins of different modules that need to be connected) can be found using a shortest path algorithm such as Dijkstra's shortest path algorithm. Routers that operate in the above-described manner are known as Lee-type routers.

[0011] In a detailed router, obstacle and wire congestion modeling analyses are also used in grid based routing systems to increase the likelihood that the particular wire placement determined during the global routing stage can actually be implemented at a finer level (i.e., within a portion of the grid in which it was placed). However, regardless of the effort put into these modeling techniques, they are either too optimistic at the expense of routing completion or too pessimistic at the expense of density. Thus, as integrated circuits become more complex and deep submicron designs proliferate, conventional grid based routing systems are not able to implement all of the design requirements. For example, in deep submicron designs, it is desirable to have wires having different and non-uniform widths and spacings. While a grid based routing system will permit different and non-uniform wire widths and spacings in certain circumstances, the constraints that occur as a result make it undesirable to implement different and non-uniform wire widths and spacings in such systems.

[0012] From the above description, it will also be apparent that the choice of the routing grid is extremely important, as it affects the packing efficiency, which measures how tightly the wires can be packed, with the constraint that the centerlines of the wires are on the chosen grid, compared to the packing in a gridless world. Suppose the width and spacing are both 0.4 μm (0.4 microns) on all layers, as illustrated in FIGS. 4A and 4B. Then a natural routing grid has track separations of 0.8 μm (both horizontally and vertically) as illustrated in FIG. 4C, and adjacent wires can be packed at 100% packing efficiency. However, if the routing grid is chosen to be 0.6 μm or 1.2 μm, as illustrated in FIGS. 4D and 4E, then the wires can only be packed at 66% packing efficiency. If the routing grid is chosen to be 0.4 μm, the wires can be maximally packed at 100%, but the size of the grid is quadrupled (doubled in each direction).

[0013] Accordingly, when width and spacing on different layers and different wires exists, the choice of the routing grid becomes even more difficult, as it will have a direct impact on the packing efficiency. In practice, existing grid-based routers require the routing grid, as well as the width and spacing of all nets to be chosen a priori, and are not subjected to change. When there are a variety of net-dependent width and spacing requirement, often time the worst-case values are chosen. The loss in packing efficiency due to improper matching between the routing grid and the width and spacing is called fragmentation. The process of determining the correct width (per layer), spacing (per layer), and routing grid to be used throughout routing is called pitch matching. Poor pitch matching results in significant degradation in quality and runtime of grid-based maze routing algorithms.

[0014] Also, one of the significant constraints on grid based routing systems, particularly for more complex designs, is the time that it takes to perform routing. When designs were simpler, the size of the grid—the separation between adjacent grid points—could be made relatively large, and, therefore, the time that it took to determine traversal paths was relatively short. Thus, for less complex semiconductor designs, grid based routing systems have been adequate and routing completion was obtained within acceptable time periods.

[0015] As designs have become more complex, however, it is not a simple matter to just reduce the size of the grid, since reducing the size of the grid brings with it a significant increase in the number of grid points, and hence a significant increase in the time needed to traverse a path. For instance, by taking a grid that was previously a single grid square per unit area and making that same grid square a quadruple in both the horizontal and vertical dimensions, thereby resulting in a grid having the resolution illustrated in FIG. 5. As compared to FIG. 2A, this results in a 16×increase in the number of grid points, and hence a significant increase in the runtime of the maze router used to determine a path. Such an increase in time is not a practical solution, since designers are unwilling to wait such long periods in order for the routing to occur.

[0016] The other approach that has been used for routing is known as a gridless routing system. As it is implied by the name gridless, such routing does not use a grid for routing, but instead keeps track of all of the obstacles based upon their location with respect to each other. Such a gridless routing system theoretically has as an advantage in that it can find a path that does not have to adhere to a predefined routing grid, as in the case of a grid-based router. While this theoretical advantage exists, such systems are technically complex and complicated, do not typically perform as well as expected, and are typically slow, especially as the integrated circuit that is being routed becomes more and more complex.

[0017] As a result of the complexity of gridless routing systems, attempting to modify them to perform even more sophisticated design requirements is not practicable.

[0018] Accordingly, a routing system that can correctly route a path in a reasonable period of time is still needed.

SUMMARY OF THE INVENTION

[0019] It is an object of the present invention to implement a router that can efficiently route wires that have variable widths and spacings.

[0020] It is another object of the invention to implement a router that has the efficiency of a conventional maze router for path expansion;

[0021] It is an object of the invention to implement a router that has greater resolution than conventional grid based routers while not requiring an increase in runtime as compared to conventional grid based routers.

[0022] It is a further object of the invention to implement a router that guarantees a path exists at a finer subgrid level once a traversal path determined at the grid level is found.

[0023] It is still a further object of the present invention to provide for an increased probability that there exists an adequate pitch match between adjacent layers.

[0024] It is yet another object of the invention to be able to more efficiently operate upon obstacles that have edges that do not fall on grid level boundaries.

[0025] This invention attains the above-recited objects, among others, by implementing a detailed subgrid router that performs searches for wire locations at the grid level. Once a solution is found, the wire representation is made based upon a finer subgrid. Due to the manner in which the search is performed at the grid level, the present invention guarantees that a path for that wire will exist at the finer subgrid level. The rectangles representing the wire is then stored in the database that includes the other corresponding information, so that it can be treated as an obstacle when routing a subsequent wire. Specifically, the invention includes subgrids that in a preferred embodiment have a resolution that is 16×greater than the resolution of the conventional grids. This increased resolution is useful for improving routing density with variable width and variable spacing designs.

[0026] In operation, the subgrid detailed router of the present invention searches at the grid level for potential wire paths using a code associated with each grid. This code contains data corresponding to each of the subgrids, such that upon completion of a routing a net, information exists that allows for the placement of the net at locations corresponding to the subgrid that has finer resolution than the grid which was used to implement the routing search. Thus, the invention is as efficient as conventional grid based routers in finding an appropriate path.

BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The above and other objects, features, and advantages of the invention are further described in the detailed description which follows, with reference to the drawings by way of non-limiting exemplary embodiments of the invention, wherein like reference numerals represent similar parts of the invention throughout several views and wherein:

[0028]FIG. 1 illustrates an overview of a conventional place and route process used in the physical design for the fabrication of integrated circuit chips;

[0029]FIG. 2A illustrates a conventional grid used in on layer of a conventional 3D grid-based routing system;

[0030]FIG. 2B illustrates representations different physical layers corresponding to the layers of a conventional 3D grid-based routing system;

[0031]FIG. 3 illustrates a top view of the representation of the pins, obstacles and wires used in a conventional routing system;

[0032] FIGS. 4A-4E illustrate the property of grid selection, packing efficiency and fragmentation;

[0033]FIG. 5 illustrates a conventional grid used in a conventional grid-based routing system that has 16 times the resolution of the grid illustrated in FIG. 1;

[0034]FIG. 6 illustrates a block diagram of the subgrid-detailed router according to the invention;

[0035]FIGS. 7 and 8 each illustrate different aspects of subgrids according to the present invention;

[0036] FIGS. 9A-9C illustrate the process of conventional grid based routing;

[0037] FIGS. 10A-10C illustrate the process of subgrid detailed routing according to the invention;

[0038] FIGS. 11A-11B and 12A-12B illustrate different manners of abstracting wire widths and spacing in a grid based routing system;

[0039] FIGS. 13A-13B illustrate a manner of abstracting wire widths and spacing in the subgrid detailed router according to the invention;

[0040] FIGS. 14A-14F illustrate the an aspect of the data representation process according to the subgrid detailed routing according to the invention;

[0041] FIGS. 15A-15F illustrate examples of grids that satisfy the single component assumption according to the invention;

[0042] FIGS. 16A-16F illustrate examples of grids that do not satisfy the single component assumption according to the invention;

[0043]FIG. 17 illustrates the process of altering a grid that does not satisfy the single component assumption into a grid that satisfies the single component assumption according to the invention;

[0044] FIGS. 18A-B illustrates a flowchart of the process of the subgrid-detailed router according to a preferred embodiment of the invention; and

[0045]FIG. 19 illustrates the process of determining whether a path can be extended from one grid to an adjacent second grid by performing a bitwise AND operation between adjacent subgrids of the two said grids.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0046] This invention implements a routing approach that handles variable widths and spacing in a simple, intuitive manner. As shown in FIG. 6, the invention is implemented in a computer system, such as an Intel processor based computer system running on a Unix operating system platform. The invention is implemented as a sequence of coded program instructions, preferably written in an object oriented programming language such as C++. In operation, the invention is run as a router application program, described in detail hereinafter, that accepts data corresponding to the desired characteristics of the integrated circuit chip, typically known as a netlist that represents the nets, modules, and pins as described previously, and operates upon this data to determine the placement of wires in an integrated circuit chip representation, thereby resulting in routing data that is output from the router.

[0047] As shown in the concept diagram of FIG. 7, the router 20 according to the invention is grid based, and for a bounded area 10 has grids 12 that have similarities to that of conventional grid based routing system. While the placement of modules be performed along with as in a conventional grid-based routing system, placement of modules can also be performed using a timing driven approach such as described in U.S. patent application Ser. No. 09/054,379 entitled Timing Closure Methodology filed on Apr. 2, 1998 in the U.S. Patent and Trademark Office, the contents of which are expressly incorporated by reference herein. Further, the routing of wires can also be incorporated with the routing system described in U.S. patent application Ser. No. 09/054,319 entitled Method of Designing a Constraint Driven Integrated Circuit Layout filed on Apr. 2, 1998 in the U.S. Patent and Trademark Office, the contents of which are expressly incorporated by reference herein.

[0048] Unlike a conventional grid-based routing system, however, the present invention includes the concept of sub-grids, illustrated as fine grids or sub-grids 22. Within each grid there are a plurality of subgrids, illustrated in FIG. 7 as subgrids 22 in positions 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.

[0049]FIG. 8 illustrates the subgrids 22 with the indicia that is associated with each subgrid and used to determine available locations in which to route a wire as will be explained in further detail hereinafter. As illustrated, a particular subgrid will have attributed to it an availability indicia in the preferred embodiment as a binary “1”, and a non-availability indicia in the preferred embodiment as a binary “0”. According to the present invention, this indicia is used to store representations of locations that are available or not for a wire to be placed. Indicia corresponding to the locations that a new wire is routed on will then change from a “1” to a “0” after that new wire is routed.

[0050] The invention associates groups of these indicia together, such that there exists one code for each different grid. Accordingly, by using this code, the present invention is able to have the path finding algorithm, such as the Lee-type algorithm or BFS algorithm, use the grid as the search space when expanding from one grid to another in an attempt to find a legal set of locations that can be used to create a path, but is then able to place the wire, using the determined path, in a solution space that has locations based upon the subgrid.

[0051] The specifics of how the subgrids are used to implement the subgrid router according to the present invention will be described in further detail hereinafter. Initially, however, an example of the concept of the subgrid detailed router according to the present invention, and the advantages that result therefrom, will be introduced.

[0052] As mentioned previously with respect to FIGS. 4A-4E, using finer routing grids helps improve routing density. Finer routing grids have not been practical using conventional grid-based router, however, since the increase in runtime is a great disincentive to using finer grids.

[0053] According to the present invention, however, the subgrid detailed router performs searches for wire locations at the grid level, but once a solution is found, the wires are placed in locations on a subgrid level. An overview comparison with conventional routing will illustrate this point.

[0054]FIG. 9A illustrates a conventional routing grid and two pins that need to be connected. FIG. 10A illustrates the subgrid detailed router according to the present invention. It is noted that the resolution of the subgrids is 16×greater according to the present invention than the resolution of the conventional grids. This increased resolution, as will be described in further detail hereinafter, is useful for improving routing density with variable width and variable spacing designs.

[0055]FIG. 9B illustrates routing a net at the coarse level along the grid using a conventional router. FIG. 10B illustrates routing a net at the coarse level along the grid using the subgrid-detailed router of according to the present invention. Notably, both routers route at the same grid level. The primary difference is that whereas the conventional router searches based upon a single binary representation associated with each grid location, that the present invention searches using the code associated with each grid, as mentioned above. The use of searching using this code, rather than using the single binary representation, has extremely minimal impact on the overall runtime of the search. Thus, as will be described in further detail hereinafter, the invention is as efficient as conventional grid based routers in finding an appropriate path.

[0056]FIG. 9C illustrates the result of the conventionally routed wire, whereas FIG. 10C illustrates the result of the wire routed using the subgrid-detailed router according to the present invention. It will be noted that the wire formed using the subgrid-detailed router has boundaries determined by the resolution of the subgrids, whereas the wire formed conventionally has boundaries determined by the resolution of the grid. The resultant wire spacing that can be accommodated according to the present invention, therefore, is more precise. It is this precision that allows the invention to accommodate variable width and variable spacing designs.

[0057] In the overview provided above and as shown in FIG. 8, the preferred resolution of the subgrids 22 is 16 times that of the grid, in a 4×4 array within the subgrid. While lesser or greater resolutions, such as a 2×2, 3×3, 4×6, 5×5, 2×8, 8×8 or other arrays for the subgrid 22 are within the intended scope of the invention, it has been determined that a 4×4 array subgrid 22 provides sufficiently fine resolution to implement circuit designs have advanced design requirements such as variable width and spacing, without overly increasing the complexity of the design, as well as the time that the implemented design takes to operate when being used.

[0058] It should be noted that each subgrid forms part of a row or column of subgrids. While each row or column does not need to be the same size, each of the subgrids within each row or column must have dimensions that conform to the dimensions of the row or column.

[0059] Details of the subgrid router according to the present invention will now be described. Before this description, however, a few more concepts will be introduced, which will facilitate in the overall understanding of the invention.

[0060] One concept that will be further commented upon is that of reference point routing. As mentioned in the background section, in the centerline convention, the grid describes the acceptable location for the centerline of paths. Reference point routing, such as reference point routing using the centerline convention, is used so that the routing problem can be abstracted to a graph-theoretical problem of finding a least-cost path in a routing graph. This graph can be represented explicitly as a general graph, or implicitly as a 3D array of grid points with certain connectivity information between adjacent grid points. In either case, this abstraction transforms the problem of routing wires with nonzero width and nonzero spacing, into a point-to-point connection problem abstracting away the concept of width and spacing. This will be appreciated from the specific illustration provided below with respect to FIGS. 11A-B, 12A-B and 13A-B.

[0061] Consider a simplified planar routing problem with only a single width W and a single spacing S. The idea is that routing a wire with width Wand spacing S is equivalent to routing a wire with zero width and spacing W/2+S. In other words, a routing path is represented by a sequence of “moves” of the reference point between adjacent grids. Each point in the path defines a square of width W with a certain offset with respect to the point.

[0062] For example, FIGS. 11A and 11B illustrates routing a net with width Wand spacing S. Such a representation can, as noted above, be translated to routing a net with width 0 and spacing W/2+S, as illustrated in FIGS. 12A and 12B. The path found using the latter approach of FIGS. 12A-12B is equivalent to the centerline of the path found using the first approach of FIGS. 11A-11B.

[0063] The second approach of FIGS. 12A-12B can be transformed to a third approach, illustrated in FIGS. 13A and 13B. Suppose each obstacle R is bloated by W/2+S, and xl, xr, yb, yt are set as the coordinates of R. The bloating of R by B (a positive value) is defined to be the rectangle with coordinates xl-B, xr+B, yb-B, yt+B Using this translation, the routing problem is simplified to finding a path of zero width and zero spacing, as shown by FIGS. 13A and 13B.

[0064] Each of the approaches described above with reference to FIGS. 11A-B, 12A-B and 13A-B are equivalent. The third approach of FIGS. 13A-B, also referred to hereinafter as reference point routing, allows the translation of a general variable-width variable-spacing routing problem into a simple problem of routing a reference point of zero width and zero spacing, with the appropriate among of bloating for each component (also referred to as obstacle). In particular, each obstacle will be bloated by W/2+S, where W is the width of the wire currently being routed, and S is the desired spacing between the wire currently being routed and the obstacle (the spacing can be obstacle-dependent). It should also be noted that in the preferred embodiment, the assumption is made that via bloating is at least as much as wire bloating. The implication is that the VMAP for vias always subsumes the WMAP for wires, as will become apparent from further descriptions of WMAP and VMAP hereinafter.

[0065] Another concept that will be further introduced is that of map building. As indicated previously, this invention uses availability indicia to represent whether it is legal to place a wire at any given subgrid. Accordingly, a 3D map is made that represents whether each subgrid is available. In this regard, it should be noted that two different 3D maps are preferably made: one map that is used to track the locations of the subgrids where a wire of a square size of the given width can be legally placed there without causing design-rule violation with existing obstacles (called WMAP), and another map that is used to track the locations of the subgrids where a via of the given size can be legally placed there without causing design-rule violation with existing obstacles (called VMAP).

[0066] In addition to how the representation is made with respect to WMAP, also important is the determination that is used to obtain the representation, which is: A subgrid point at location (x, y, z) is wire-legal if and only if: A square wire of width W centered at (x, y, z) is design-rule-correct with respect to the existing obstacles.

[0067] By design rule correct is meant that this square has a distance of at least S from any obstacle. Whether a subgrid point is wire-legal or not is static information that is determined before routing the net, using, in the preferred embodiment of the invention, the following pseudocode: for each subgrid point f do mark f as LEGAL; end for for each obstacle R do R′ = R bloated by W/2 + S; for each subgrid point f covered by R′ do mark f as ILLEGAL; end for end for

[0068] With respect to whether a subgrid point is design rule correct, in the preferred embodiment, if there are two rectangles that are touching (but not overlapping), any subgrid points on the common line will be marked as LEGAL. This can be expresses mathematically as: a point (x, y, z) is covered by a given rectangle R with coordinates xl, xr, yb, yt if and only if: xl<x<xr, and yb<y<yt, and R is on the layer z; where, x, y, and z are three dimensional coordinates and l, r, b, and t stand for left, right, bottom and top, respectively.

[0069] Using a similar representation, VMAP representations can be determined using the following: a given location (x, y, z) is via-legal if and only if: A via centered at (x, y) connecting layer z and layer z+1 is design-rule-correct with respect to the existing layout geometries.

[0070] The final concepts that will be further elaborated upon before describing the overall process of the router according to the present invention are those of subgrid representation, wave expansion, and the single component assumption.

[0071] With respect to the grid representation, FIG. 7, previously described, illustrates the 16 different subgrids in a grid. The contents of locations 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F can be represented in a variety of ways. In the preferred embodiment, by convention, a row major scheme is used, with the lower-left (upper-right) corner of the grid represented by the least (most) significant bit. This allows the contents of the subgrids for each grid to be represented as four base-sixteen numbers, such that the number “F332” corresponds to the binary bit pattern 1111001100110010 and the subgrid pattern:

[0072] 1 1 1 1

[0073] 0 0 1 1

[0074] 0 0 1 1

[0075] 0 0 1 0

[0076] As mentioned previously, initially, all subgrid points are set to ones (LEGAL) on both the WMAP and the VMAP. As obstacles including wires are added and wires are added, rectangles representing these obstacles will be generated, as described hereinafter, and, subsequently, some of the ones will be set to zero (ILLEGAL) based on the algorithm as described above. FIGS. 14A-14C illustrate the representation of obstacles 14I, 14J and 14K being added, respectively, to an area that is covered by six grids. In each of FIGS. 14A-14C, an additional obstacles representation is added, which will ultimately cause additional subgrid indicia to be changed from a “1” to a “0”. When the subgrid indicia is changed, so also does the code that represents the subgrid.

[0077] Another concept is the concept called single component assumption (SCA). The significance of the single component assumption will become apparent in the following description. A grid will satisfy the single component assumption if the pattern of ones and zeros in the grid is such that every “one” in the pattern is reachable from any other “one” in the pattern. By reachable we mean there exists a consequence sequence of adjacent “ones” from the first one to the last one. FIGS. 15A-F illustrate grid patterns that satisfy the SCA and FIGS. 16A-F illustrate patterns that do not satisfy the SCA.

[0078] With SCA, all legal subgrids in a grid truly form a group, because they are reachable from each other. Once a particular subgrid is known as being reachable, it is therefore known that all legal subgrids in the same grid are reachable.

[0079] In practice, most patterns that appear after map building satisfy the SCA. Patterns that do not satisfy SCA, however, can be converted to patterns that satisfy SCA. The process—called SCA-ification—works by turning some one's into zeros until the pattern satisfies the SCA. This process can be performed in constant time by table-lookup. An example of SCA-ification is illustrated in FIG. 17. SCA-ification can be easily implemented using a lookup table that maps each possible configuration (2¹⁶) to a single component subset. This can first be done for the WMAP, while tracking all the grid points with such problem by saving their old bitmasks. Then, the VMAP is updated together with the WMAP, since at the end there is the need to ensure that (1) each subgrid in the VMAP is subsumed by the corresponding subgrid in the WMAP, and (2) each grid in the WMAP/VMAP satisfies SCA. It is noted that since it is assumed that the number of SCA-violated grids is very small, keeping track of them is not very expensive. Once routing is complete, the SCA fixes are undone so that WMAP and VMAP are restored to their previous state. This is important if it is desired to reuse WMAP and VMAP or to perform incremental updates.

[0080] Now that the above concepts have been introduced, the detailed subgrid routing process according to the invention can now be succinctly stated. In particular, once WMAP and VMAP have been computed, all legal path locations can be determined by the maze router. Thus, the maze router can perform a maze expansion to find the connection between the terminals of the nets.

[0081] Typically, the goal of the maze expansion is to find a design-rule-correct path that runs from a source to a destination. Since the WMAP and VMAP capture the design-rule correctness of putting wires or vias at every single subgrid locations, if there exists a sequence of adjacent subgrid points that are wire-legal and via-legal, then such sequence describes a design-rule correct centerline path from the source to the destination.

[0082] In other words, in the subgrid detailed router, the goal is to find a path (a sequence of subgrid location) such that:

[0083] 1. For every subgrid location (x, y, z) in the path, WMAP (x, y, z) is one (=LEGAL); and

[0084] 2. For every pair of adjacent subgrid locations (x, y, z) and (x, y, z+1) which represents a via connection, VMAP (x, y, z) is one (=LEGAL).

[0085]FIGS. 14E and 14F illustrate that there exists adjacent “1s” in the subgrid such that a valid path exists through the grids.

[0086] Formalistically, maze expansion can be described as follows: if there exists a legal path from a source such as a pin to the current subgrid location (x, y, z), the expansion operation must determine whether moving from the current subgrid point to its neighbors are legal—with the neighbors being the subgrid points with coordinates (x+1, y, z), (x−1, y, z), (x, y+1, z), (x, y−1, z), (x, y, z+1), (x, y, z−1). Put another way, suppose that there exists a sequence of ones from the source to the current subgrid point (x, y, z). Consider its east neighbor (x+1, y, z). If WMAP (x+1, y, z) is one (LEGAL), then there exists a path from the source to (x+1, y, z) through (x, y, z). Consider its UP neighbor (x, y, z+1). If VMAP (x, y, z) is one (LEGAL), then there exists a path from the source to (x, y, z+1) through (x, y, z). This simple process of determining local reachability from one subgrid point to its neighbor using the WMAP and VMAP information is the basis for the process of wave expansion.

[0087] This process for wave expansion, however, if implemented using a conventional router would be extremely slow, as has been mentioned previously. In order to speed the process up, as has been mentioned previously, rather than routing from each subgrid to subgrid, the present invention instead operates using the code for an entire grid and comparing that code with the code for adjacent grids during the expansion process. Thus, a group of subgrids are expanded to another group of subgrids. In order for this comparison, and thus the expansion to be valid, however, the single component assumption must be true. If true, therefore, a simple comparison of adjacent grid edges will determine whether the expansion to the nearest neighbor can take place. Accordingly, if a particular grid does not satisfy the SCA, it will be made to satisfy the SCA. While this results in some otherwise legal subgrids being forced to an illegal status (by turning from one to zero), extensive experimental results show that in practice, over 99.9% of all grids satisfy the SCA, and therefore this does not become an issue.

[0088] Thus, using the grids 22-1 to 22-6 illustrated in FIG. 14E, it can be seen that at the subgrid level there is a path of “1s” that allow a source that has reached the west side of grid 22-1 to reach the east side of grid 22-6. Using the expansion from grids 22-1 to 22-2 as an example, given that these two grids are adjacent grids on the same layer, grid 22-2 is reachable from grid 22-1 if and only if there exists two legal subgrids, one in grid 22-1 and one in grid 22-2 that are adjacent to each other. And it can be seen that there are. The east edge of grid 22-1 and the west edge of grid 22-2 have the following adjacent bit patterns:

[0089] 00

[0090] 00

[0091] 11

[0092] 00

[0093] Since there are two adjacent “1s”, a path can be extended from grid 22-1 to grid 22-2. If, however, grid 22-2 were desired to reach grid 22-3, this would not be allowed, since the east edge of grid 22-2 and the west edge of grid 22-3 have the following adjacent bit patterns:

[0094] 00

[0095] 00

[0096] 00

[0097] 00

[0098] Grid 22-2, however, can be extended to grid 22-5, since the south edge of grid 22-2 and the north edge of grid 22-5 have the following adjacent bit pattern:

[0099] 0 0

[0100] 0 0

[0101] 1 1

[0102] 0 0

[0103] Since, however, the indicia in each subgrid are represented by the grid code, as described previously, the reachability of one grid to an adjacent grid can be computed in constant time using a bitwise operation on the code in WMAP corresponding to the two adjacent grids.

[0104] A few final examples of three different pairs of adjacent subgrid indicia that are not reachable from one grid to the next are as follows: 01 00 10 10 10 10 01 01 01 10 00 01 (1) (2) (3)

[0105] Similarly, reachability can be computed in real time using VMAP for vias. Thus, with respect to the example illustrated in FIGS. 14A-14F, the wire 16 illustrated in FIG. 14F can be located using the expansion at the grid level with the maze router performing bitwise compare operations on the 16 bit code associated with adjacent grids.

[0106] In view of the previous descriptions, the operation of the subgrid-detailed router according to the present invention should be understood. To ensure, however, that the overall operation is understood, the overall operation of the subgrid-detailed router according to the present invention will now be described with reference to the flowchart of FIGS. 18A and B. Initially in step 100, netlist data from the global routing step input, which will provide information on, for example, the integrated circuit modules, placement and global routing information. Thereafter, in a step 102, the router 20 determines the desired 3D grid/subgrid characteristics using the information obtained from step 100. It should be noted that the present invention can also be implemented such that the user is restricted to developing integrated circuit chips having specific grid/subgrid characteristics, thereby resulting in the feature of step 102 not being alterable by the user. Thereafter, in step 104 the subgrids that have been established (i.e. the indicia in WMAP and VMAP) are all set to “1.” Step 106 follows and there is generated and stored a list of rectangles from the netlist information on the router computer, which rectangles will subsequently be used to determine nonavailability indicia on the 3D routing grid.

[0107] Upon completion of step 106, initial set-up of the subgrid-detailed router according to the invention is finished and the router then begins to route the first net. In step 108, router 20 takes the data associated with the first connection of two pins within the first net, the router thus knows the beginning point, the end-point, and characteristics of the net, such as desired width and spacing. Using these characteristics, step 110 follows, and the availability and nonavailability indicia of WMAP and VMAP are calculated for that particular net. It should be noted that this calculation includes the bloating of the rectangles that have been generated in step 106 in order to determine WMAP and VMAP. From this indicia, the grid codes are established as well.

[0108] Step 112 follows, and, using the calculated grid codes, the router determines whether the single component assumption is valid for each of the grids. If it is not, then those grids for which the SCA is not valid are made valid, as describe previously.

[0109] Thereafter, step 114 follows, and the subgrid-detailed router performs wavefront expansion, using maze router algorithms operating upon the grid codes. Essentially, however, an AND operation is performed on adjacent subgrid pairs for adjacent grids to determine if there exists a path, i.e. a “11” combination of one of the four subgrids, between one grid and another grid, as illustrated in FIG. 19. In this regard, it is apparent that contiguous (and adjacent) subgrids that are immediately next to each other in the horizontal and vertical direction only (and same coordinates but adjacent layers). Subgrids that are next to each other diagonally are not considered adjacent.

[0110] As a result of step 114, a coarse representation of the path of the first net is obtained. Subsequently, in step 116, a subgrid traceback is performed at the subgrid level to determine the actual connection in the subgrid resolution. It is noted that there is guaranteed an actual connection path at the subgrid level, within the path on the grid level that was found using the grid-level wavefront expansion, and this is found by searching for a sequences of adjacent “1s” from the endpoint back to the beginning point within the path on grid level that was found using the grid-level wavefront expansion. Of course, this search could also take place from the beginning point to the endpoint.

[0111] Step 118 follows in which the actual connection path found in step 116 is added to the list of rectangles of the router computer, so that during the next search, the newly added connection can be considered. If the newly added connection is part of an incomplete net, then the newly added connection will be considered the entire pin for the next connection to the next portion of the net, until that net is completed. If the newly added connection is a complete net, then it will be considered an obstacle for all subsequent nets that are routed.

[0112] Step 120 follows thereafter, in which the router 20 determines if that net is complete. If not, then steps 108 and forward are repeated for each remaining portion of the net.

[0113] If the net is complete, then step 122 follows thereafter, with the router deciding if additional nets exist. If so then step 108 and forward are repeated for each remaining net, in a manner corresponding to that previously described. If no additional nets exist, then routing is complete and the process ends.

[0114] It should be noted that the above-described process can be implemented in software in many different manners. For example, steps of generating WMAP and VMAP are can be performed by an incremental update, rather than a recalculation. Accordingly, the above description of the process should be read as describing the features that the present invention implements, while the particular sequence of steps, and implementation of steps, will no doubt vary since they can be implemented in software in numerous different manners, as will be appreciated by one of ordinary skill in the art.

[0115] While the invention has been described herein with reference to particular embodiments thereof, a latitude of modification, various changes and substitutions are intended in the foregoing disclosure, and it will be appreciated that in some instances some features of the invention will be employed without a corresponding use of other features without departing from the spirit and scope of the invention as set forth in the appended claims. 

We claim:
 1. A method of automatically extending a wire location representation from one grid to another grid comprising: comparing a first plurality of subgrid indicia associated with certain subgrids of the one grid with a second plurality of subgrid indicia associated with certain subgrids of the another grid to determine whether the wire representation can be extended from the one grid to the another grid, wherein each of the subgrid indicia indicates one of availability and nonavailability of a corresponding wire portion representation and the first plurality of subgrid indicia and the second plurality of subgrid indicia are adjacent to each other. 